//request为我封装的axios的js文件 
import request from '@/axios'

export const login = (data) => {
  return request({
    method: 'post',
    url: '/users/login',
    data
  })
}